<div class="easyui-layout" data-options="fit:true,border:false" style="overflow: auto">
	<div class="easyui-panel edit-panel toggle-panel" data-options="openAnimation:'slide',closeAnimation:'slide'">
		<div data-options="region:'north',border:false" style="overflow: auto;margin: 10px;">
			<div class="flow-edit-btn" style="height:auto;margin-right:0px">
				<div />
			</div>
		</div>
		<div data-options="region:'center',border:false" style="overflow: auto;margin-top: 10px;">



			<center>
				<table>
					<tr>
						<td>
							<form method="post" class="main-form">

								<fieldset>
									<table>

										<tr>
											<th>&nbsp; &nbsp;&nbsp;具体事项
											</th>
											<td>
												<input name="name" id="name"
													class="easyui-textbox easyui-validatebox" style="width:285px"
													type="text" data-options="readonly:true" />
											</td>
											<th>填表日期</th>
											<td>
												<input name="apply_date" id="apply_date" type="text"
													class="easyui-textbox easyui-validatebox" style="width:285px"
													data-options="readonly:true" />
											</td>

										</tr>

										<tr>
											<th>申请人员</th>
											<td>
												<input name="apply_name" id="apply_name" type="text"
													class="easyui-textbox easyui-validatebox" buttonText="选择"
													style="width:285px" data-options="readonly:true" />
											</td>

											<th>申请科室</th>
											<td>
												<input name="apply_deptname" id="apply_deptname"
													class="easyui-textbox easyui-validatebox" style="width:285px"
													type="text" data-options="readonly:true" />
											</td>

										</tr>


										<tr>
											<th>申请理由</th>
											<td colspan="7">
												<input class="easyui-textbox" id="apply_content" name="apply_content"
													data-options="multiline:true,editable:false" style="width:640px;height: 50px;"></input>
											</td>
										</tr>


									</table>
								</fieldset>
							</form>

						</td>
					</tr>

					<tr>
						<td>
							<div id="inner-table-drugpurchase">
								<a href="javascript:void(0);" class="easyui-linkbutton function-btn"
									iconCls="icon-add" plain="true">添加药品</a>
								<a href="javascript:void(0);" class="easyui-linkbutton function-btn"
									iconCls="icon-remove" plain="true">删除药品</a>
							</div>
							<div id="dg-inner-drugpurchase" />
						</td>
					</tr>
					<tr>
						<td>
							<form method="post" class="main-form">

								<fieldset>
									<table>

										<tr>
											<th>药品采购科初审 </th>
											<td colspan="7">
												<input class="easyui-textbox" id="dept_content" name="dept_content"
													data-options="multiline:true,editable:false" style="width:640px;height: 50px;"></input>
											</td>
										</tr>

										<tr>
											<th>临时用药审核</th>
											<td colspan="7">
												<input class="easyui-textbox" id="drugtest_content"
													name="drugtest_content" data-options="multiline:true,editable:false"
													style="width:640px;height: 50px;"></input>
											</td>
										</tr>

										<tr>
											<th>临床药学科审核</th>
											<td colspan="7">
												<input class="easyui-textbox" id="audit_content" name="audit_content"
													data-options="multiline:true,editable:false" style="width:640px;height: 50px;"></input>
											</td>
										</tr>

										<tr>
											<th>分管院长审核</th>
											<td colspan="7">
												<input class="easyui-textbox" id="chargeLeader_content"
													name="chargeLeader_content" data-options="multiline:true,editable:false"
													style="width:640px;height: 50px;"></input>
											</td>
										</tr>

										<tr>
											<th>药品采购入库</th>
											<td colspan="7">
												<input class="easyui-textbox" id="inputStore" name="inputStore"
													data-options="multiline:true,editable:false" style="width:640px;height: 50px;"></input>
											</td>
										</tr>

										<tr>
											<th>附件</th>
											<td colspan="3">
												<!-- <input class="easyui-textbox" id="add_file" name="add_file" 
													data-options="multiline:true,editable:false" style="width:620px;height: 50px;"> 
													</input> -->
												<div class="fileList">
												</div>
											</td>
										</tr>



									</table>
									<input name="id" id="id" type="hidden" />
									<input name="bizid" id="bizid" type="hidden" />
									<input name="flowInstId" id="flowInstId" type="hidden" />
									<input name="flowTaskId" id="flowTaskId" type="hidden" />
									<input name="created" id="created" type="hidden" />
									<input name="creater" id="creater" type="hidden" />


									<input name="apply_id" id="apply_id" type="hidden" />
									<input id="apply_deptid" name="apply_deptid" type="hidden" />

								</fieldset>
							</form>
						</td>
					</tr>
				</table>



			</center>

		</div>
	</div>

	<!-- 这是一个上传的窗口 -->
	<div class="easyui-panel upload-panel toggle-panel"
		data-options="closed:true,openAnimation:'slide',closeAnimation:'slide'">
		<div class="archive-btn">
			<a href="javascript:void(0);" class="easyui-linkbutton file_upload_btn function-btn"
				iconcls="icon-add" plain="true">上传</a>
			<a href="javascript:void(0);" class="easyui-linkbutton file_upload_btn function-btn"
				iconcls="icon-remove" plain="true">删除</a>
			<a href="javascript:void(0);" class="easyui-linkbutton file_upload_btn function-btn"
				iconcls="icon-undo" plain="true">返回</a>
		</div>
		<div class="table-archive">
		</div>
		<form class="upload-form">
			<div id="queue">
			</div>
			<input id="file_upload" name="file_upload" type="file"
				multiple="true" />
		</form>
	</div>

	<!-- 这是预留流程节点显示窗口 -->
	<div class="easyui-panel historical-panel toggle-panel"
		data-options="closed:true,openAnimation:'slide',closeAnimation:'slide'">
		<div class="archive-btn">
			<a href="javascript:void(0);" class="easyui-linkbutton function-btn"
				iconcls="icon-undo" plain="true">返回</a>
		</div>
		<div class="historics">
			<table style="margin:2 auto" class="easyui-datagrid historics"
				data-options="rownumbers:true,
				animate: true, collapsible: true, striped:true, width : 'auto', border:true,
				idField: 'id', fitColumns: true">
				<thead>
					<!-- <tr> <th field="name" width="60" align="center"> 节点名称 </th> <th 
						field="username" width="60" align="center"> 处理人员 </th> <th field="startTime" 
						width="60" align="center"> 到达时间 </th> <th field="endTime" width="60" align="center"> 
						完成时间 </th> <th field="description" width="100" align="center"> 签收信息 </th> 
						</tr> -->
				</thead>
			</table>
		</div>
	</div>
	<!-- 这是预留流程节图显示窗口 -->
	<div class="easyui-panel historicalDiagram-panel toggle-panel"
		data-options="closed:true,openAnimation:'slide',closeAnimation:'slide'">
		<div class="archive-btn">
			<a href="javascript:void(0);" class="easyui-linkbutton function-btn"
				iconcls="icon-undo" plain="true">返回</a>
		</div>
		<div class="historicalDiagram">
		</div>
	</div>
</div>
<script>

	requirejs(['flowEditModule','oaDrugPurchase','domReady!'],function(flowedit,oaDrugPurchase,doc){
	flowedit.init({doc:doc,
	rootId:'panel-oa-drugpurchase',
	subSystemCode:'sysman',
	moduleCode:'oaDrugPurchase',
	editWindow:'oa-drugpurchase-win',
	initElement:oaDrugPurchase.initEdit,
	buttonExtends:oaDrugPurchase.buttonExtends,
	beforeSubmit:oaDrugPurchase.beforeSubmit,
	fieldSetting:oaDrugPurchase.reCreateField})
	});

</script>

